Vector Pen Table Entry Structure
The vector pen table entry structure, of data typegxPenTableEntry
, defines a single pen that is in a pen table used on a vector device.
struct gxPenTableEntry { Str31 penName; gxColor penColor; fixed penThickness; short penUnits; short penPosition; }; typedef struct gxPenTableEntry gxPenTableEntry;
Field Description
penName
- The name of the pen that this structure describes.
penColor
- The color of this pen. This color matches one of the entries in the color set for this device.
penThickness
- The size of this pen.
penUnits
- The units that define the
penThickness
value, as described in the next section.penPosition
- The position of this pen in the devices's pen carousel. If the pen is not loaded, it is set to the value
kPenNotLoaded
(-1).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help